package com.own.business.system.account.common.em;

import com.own.business.system.account.common.base.BaseAccountType;

/**
 * AccountType
 *
 * @author chenxueli
 * @date 2022-09-12 14:13:00
 */
public class AccountType {

    public static final BaseAccountType EMAIL = () -> Type.EMAIL;
    public static final BaseAccountType TEXT = () -> Type.TEXT;
    public static final BaseAccountType PHONE = () -> Type.PHONE;

    public interface Type {
        /**
         * 邮箱登录
         */
        String EMAIL = "email";
        /**
         * 账号密码登录
         */
        String TEXT = "text";
        /**
         * 手机号登录
         */
        String PHONE = "phone";
        /**
         * 自动登录
         */
        String AUTO = "auto";
        /**
         * 唤醒
         */
        String AWAKEN = "awaken";
        /**
         * 退出登录
         */
        String LOGIN_OUT = "login_out";
    }

}
